#define _CRT_SECURE_NO_WARNINGS 1

#include"queue.h"
#include<iostream>
using namespace std;

int main()
{
	Dream::queue<int> q;
	for (int i = 0; i < 10; i++)
	{
		q.push(i);
	}
	int n = q.size();
	for (int i = 0; i < n; i++)
	{
		cout << q.front() << endl;
		q.pop();
	}
	return 0;
}